.w {
    width: 1200px;
    margin: auto;
}

body {
    background-color: #f3f5f7;
}

.header {
    height: 42px;
    margin: 30px auto;
    line-height: 42px;
}

.logo {
    float: left;
    width: 198px;
    height: 42px;
}

.nav {
    float: left;
    margin-left: 60px;
}

.nav ul li {
    float: left;
    margin: 0 15px;
}

.nav ul li a {
    display: block;
    height: 42px;
    padding: 0 10px;
    font-size: 18px;
    color: #050505;
}

.nav ul li a:hover {
    border-bottom: 2px solid #00a4ff;
    color: #00a4ff;
}


/* 搜索模块开始  */

.search {
    float: left;
    width: 412px;
    height: 42px;
    margin-left: 70px;
}

.search input {
    float: left;
    width: 345px;
    height: 40px;
    border: 1px solid #00a4ff;
    border-right: 0;
    color: #bfbfbf;
    padding-left: 15px;
    outline: none
}

.search button {
    float: left;
    width: 50px;
    height: 42px;
    background: url(../img/fa-search.png);
    border: 0;
    outline: none;
}


/* 用户模块开始 */

.user {
    float: right;
    margin-right: 30px;
    color: #666666;
}

.user img {
    vertical-align: middle;
}


/* 中部开始 */

.banner {
    height: 420px;
    background-color: #1c036c;
}

.banner .qing {
    height: 420px;
    background: url(../img/banner2.png);
}

.banner .qing .subnav {
    float: left;
    width: 190px;
    height: 420px;
    background-color: rgba(19, 1, 75, 0.4);
}

.banner .qing .subnav li a {
    display: block;
    font-size: 14px;
    padding: 14px 20px;
    color: #ffffff;
}

.banner .qing .subnav li a:hover {
    color: #0681c4;
}

.banner .qing .subnav li a em {
    float: right;
}


/* 左导航栏结束 */

.course {
    float: right;
    width: 230px;
    height: 300px;
    background-color: #fff;
    margin-top: 50px;
}

.course h2 {
    height: 48px;
    background-color: #9bceea;
    text-align: center;
    line-height: 48px;
    font-size: 18px;
    color: #fff;
}

.course .bd {
    margin: 0 20px;
}

.course .bd li {
    padding: 12px 0;
    border-bottom: 1px solid #eaeaea;
}

.course .bd li a {
    color: #717171;
}

.course .bd li a h4 {
    color: #4e4e4e;
}

.course .bd>a {
    display: block;
    text-align: center;
    font-size: 16px;
    line-height: 32px;
    color: #6bbfff;
    border: 1px solid #6bbfff;
    margin-top: 10px;
}


/* 精品推荐模块 */

.jinp {
    height: 60px;
    line-height: 60px;
    margin-top: 10px;
    background-color: #ffffff;
    box-shadow: 3px 5px 5px rgba(0, 0, 0, .2);
}

.jinp ul li {
    float: left;
}

.jinp ul li a {
    display: inline-block;
    padding: 0 26px;
    color: #050505;
}

.jinp ul li span {
    color: #bfbfbf;
}

.jinp ul .ji a {
    color: #00a4ff;
    font-weight: 700;
}

.jinp a {
    float: right;
    margin-right: 20px;
    color: #00a4ff;
    font-size: 16px;
}


/* 精品视频开始 */

.nava {
    height: 40px;
    margin-top: 35px;
}

.nava div h3 {
    float: left;
    font-size: 20px;
    font-weight: 400;
    color: #686969;
}

.nava div p a {
    float: right;
    line-height: 30px;
    font-size: 12px;
    color: #686969;
    margin-right: 30px;
}


/* video开始 */

.video ul li {
    float: left;
    width: 228px;
    height: 271px;
    border: 1px solid #cccccc;
    background-color: #ffffff;
    margin-left: 8px;
    margin-top: 10px;
}

.video ul li h4,
.video ul li p {
    margin: 24px 15px 0px 15px;
}

.video ul li a img {
    width: 228px;
}

.video ul li h4 {
    font-size: 14px;
    font-weight: 600;
}

.video ul li p {
    font-size: 12px;
    color: #cccccc;
}

.video ul li p samp {
    color: #ffbd96;
}


/* 编程入门开始 */

.shangbu {
    height: 40px;
    background-color: #f3f5f7;
    margin-top: 40px;
}

.xiaobu {
    height: 395px;
    background-color: #f3f5f7;
    margin-top: 24px;
}

.shangbu h3 {
    float: left;
    color: #828383;
    font-size: 20px;
    font-weight: 400;
}

.shangbu p {
    float: right;
    line-height: 40px;
    font-size: 12px;
    color: #828383;
    margin-right: 25px;
}

.shangbu ul {
    margin-left: 360px;
}

.shangbu ul li {
    float: left;
    line-height: 40px;
    margin-left: 70px;
}

.shangbu ul li a {
    font-size: 16px;
    color: #828383;
}

.shangbu ul li a:hover {
    color: #00a4ff;
}

.xiaobu h5 img {
    float: left;
    width: 227px;
    height: 395px;
}

.xiaobu h6 img {
    float: left;
    width: 957px;
    height: 101px;
    margin-left: 16px;
}

.xiaobu ul li {
    float: left;
    width: 228px;
    height: 271px;
    border: 1px solid #cccccc;
    background-color: #ffffff;
    margin-left: 13px;
    margin-top: 22px;
}

.xiaobu ul li h4,
.xiaobu ul li p {
    margin: 24px 15px 0px 15px;
}

.xiaobu ul li a img {
    width: 228px;
}

.xiaobu ul li h4 {
    font-size: 14px;
    font-weight: 600;
}

.xiaobu ul li p {
    font-size: 12px;
    color: #cccccc;
}

.xiaobu ul li p samp {
    color: #ffbd96;
}


/* 开始 */

.wva .q li {
    float: left;
    width: 228px;
    height: 271px;
    border: 1px solid #cccccc;
    background-color: #ffffff;
    margin-left: 10px;
    margin-top: 22px;
}

.wva .q li h4,
.wva .q li p {
    margin: 24px 15px 0px 15px;
}

.wva .q li a img {
    width: 228px;
}

.wva .q li h4 {
    font-size: 14px;
    font-weight: 600;
}

.wva .q li p {
    font-size: 12px;
    color: #cccccc;
}

.wva .q li p samp {
    color: #ffbd96;
}


/* 底部开始 */

.bottoms {
    width: 100%;
    height: 416px;
    background-color: #ffffff;
    margin-top: 30px;
}

.bottoms .w {
    height: 100%;
    background-color: #ffffff;
}

.bottoms .w .lests {
    float: left;
    width: 450px;
    margin-top: 25px;
    margin-left: 25px;
}

.bottoms .w .lests p {
    float: left;
    font-size: 12px;
    color: #666666;
    margin-top: 25px;
}

.bottoms .w .lests a {
    float: left;
    padding: 10px 30px;
    border: 1px solid #00a4ff;
    color: #00a4ff;
    margin-top: 25px;
}

.bottoms .w dl {
    float: left;
    font-size: 16px;
    color: #b3b3b3;
    margin-left: 215px;
    margin-top: 25px;
}

.bottoms .w dl dd {
    font-size: 12px;
    color: #333333;
    margin-top: 10px;
}


/* 定位 */

.diwei {
    position: fixed;
    left: 140px;
    top: 11%;
    width: 184px;
    height: 425px;
    background-color: #ffffff;
}

.diwei ul li a {
    color: #000000;
    font-size: 14px;
    margin-left: 25px;
}

.diwei ul {
    margin-top: 25px;
}

.diwei ul li {
    margin-top: 15px;
}

.diwei ul li a:hover {
    color: #00a4ff;
}